﻿@model CloudPms.Domain.Repository.OrderModel

@{
    ViewBag.Title = "8021 张三丰 - 订单";
}

<h2>订单详细信息</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>OrderModel</legend>
        
        <div class="editor-label">
           订单渠道：[ @Model.GetChannelName(Model.ChannelID) ]
        </div>
        
        <div class="editor-label">
           客源信息：
        </div>
        <div class="editor-field">
            @Html.DropDownList("GuestSourceType",Model.GetGuestSourceList())
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MemberNo)
        </div>
        <div class="editor-label">
           会员信息：<p>会员等级,积分，名称等等。</p>
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GroupLongPacketNo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GroupLongPacketNo)
            @Html.ValidationMessageFor(model => model.GroupLongPacketNo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ActivityCode)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ActivityCode)
            @Html.ValidationMessageFor(model => model.ActivityCode)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RoomTypeID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RoomTypeID)
            @Html.ValidationMessageFor(model => model.RoomTypeID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RoomNo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RoomNo)
            @Html.ValidationMessageFor(model => model.RoomNo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UpgradeRoomType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UpgradeRoomType)
            @Html.ValidationMessageFor(model => model.UpgradeRoomType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GuestSourceType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GuestSourceType)
            @Html.ValidationMessageFor(model => model.GuestSourceType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StartDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StartDate)
            @Html.ValidationMessageFor(model => model.StartDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CheckinTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CheckinTime)
            @Html.ValidationMessageFor(model => model.CheckinTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.InBizDay)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.InBizDay)
            @Html.ValidationMessageFor(model => model.InBizDay)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EndDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EndDate)
            @Html.ValidationMessageFor(model => model.EndDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CheckOutTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CheckOutTime)
            @Html.ValidationMessageFor(model => model.CheckOutTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OutBizDay)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OutBizDay)
            @Html.ValidationMessageFor(model => model.OutBizDay)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CheckInType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CheckInType)
            @Html.ValidationMessageFor(model => model.CheckInType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ChannelID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ChannelID)
            @Html.ValidationMessageFor(model => model.ChannelID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MemberNo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MemberNo)
            @Html.ValidationMessageFor(model => model.MemberNo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MemberType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MemberType)
            @Html.ValidationMessageFor(model => model.MemberType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MemeberName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MemeberName)
            @Html.ValidationMessageFor(model => model.MemeberName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GuestName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GuestName)
            @Html.ValidationMessageFor(model => model.GuestName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IDCardType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IDCardType)
            @Html.ValidationMessageFor(model => model.IDCardType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IDCardNo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IDCardNo)
            @Html.ValidationMessageFor(model => model.IDCardNo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Telephone)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Telephone)
            @Html.ValidationMessageFor(model => model.Telephone)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Memo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Memo)
            @Html.ValidationMessageFor(model => model.Memo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsMaster)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsMaster)
            @Html.ValidationMessageFor(model => model.IsMaster)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsVIP)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsVIP)
            @Html.ValidationMessageFor(model => model.IsVIP)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsQuickLeave)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsQuickLeave)
            @Html.ValidationMessageFor(model => model.IsQuickLeave)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsSecret)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsSecret)
            @Html.ValidationMessageFor(model => model.IsSecret)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsAddPoint)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsAddPoint)
            @Html.ValidationMessageFor(model => model.IsAddPoint)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsValid)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsValid)
            @Html.ValidationMessageFor(model => model.IsValid)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsWakeUp)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsWakeUp)
            @Html.ValidationMessageFor(model => model.IsWakeUp)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.WakeUpTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WakeUpTime)
            @Html.ValidationMessageFor(model => model.WakeUpTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PhoneLevelID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PhoneLevelID)
            @Html.ValidationMessageFor(model => model.PhoneLevelID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SalesID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SalesID)
            @Html.ValidationMessageFor(model => model.SalesID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RelateGroupID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RelateGroupID)
            @Html.ValidationMessageFor(model => model.RelateGroupID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ResvID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ResvID)
            @Html.ValidationMessageFor(model => model.ResvID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ModifiedTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ModifiedTime)
            @Html.ValidationMessageFor(model => model.ModifiedTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EmployeeID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EmployeeID)
            @Html.ValidationMessageFor(model => model.EmployeeID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SpecialPrice)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SpecialPrice)
            @Html.ValidationMessageFor(model => model.SpecialPrice)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
